﻿using System;
using System.Windows.Forms;

namespace TimeTools {
    public partial class AlarmMessageBox : Form {
        private readonly AlarmClockControl _parent;

        public AlarmMessageBox(AlarmClockControl parent) {
            InitializeComponent();
            _parent = parent;
        }

        private void _snooze_Click(object sender, EventArgs e) {
            _parent.Snooze();
            Close();
        }

        private void _off_Click(object sender, EventArgs e) {
            _parent.Off();
            Close();
        }
    }
}
